<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.prime.com.tr/ui">

    <h:body>
        <div>
            <h:form>
                <div style="float: right; margin-right: 10px;display: inline">

                    Welcome :<h:outputText value="#{employeeManagedBean.emp.empName}" />
                    &nbsp;|
                    <h:commandLink style="color: blue;" action="#{employeeManagedBean.Logout}" value="Logout" />

                </div><div style="color: white">a</div>
            </h:form>
            <p:tabView styleClass="tab_view_top" dynamic="true" cache="true"  style="">

                <p:tab title="Account Profile" id="tab" >
                    <p:tabView dynamic="true" style="border-style: none; width: 100%" >

                        <p:tab title="Main page" >
                            <h:panelGrid columns="2" cellpadding="2">
                                <ui:insert name="mainpage">

                                </ui:insert>
                            </h:panelGrid>
                        </p:tab>


                        <p:tab title="Change Password">
                            <h:panelGrid columns="2" cellpadding="2">

                                <ui:insert name="changepass">

                                </ui:insert>

                            </h:panelGrid>
                        </p:tab>

                        <p:tab title="Profile">
                            <h:panelGrid columns="2" cellpadding="2">

                                <ui:insert name="profile">

                                </ui:insert>

                            </h:panelGrid>
                        </p:tab>


                    </p:tabView>
                </p:tab>

                <!-- Tab Applicant -->
                <p:tab title="Applicant Manager" id="tab2" >
                    <p:tabView dynamic="true" style="border-style: none; width: 100%" >
                        <p:tab title="Applicant Manager" >
                            <h:panelGrid columns="2" cellpadding="2">

                                <ui:insert name="applicant">

                                </ui:insert>

                            </h:panelGrid>
                        </p:tab>


                        <p:tab title="Add new">
                            <h:panelGrid columns="2" cellpadding="2">

                                <ui:insert name="addapplicant">

                                </ui:insert>

                            </h:panelGrid>
                        </p:tab>
                    </p:tabView>
                </p:tab>
                <!-- Tab vacancy -->

                <p:tab title="Vacancy Manager" id="tab3" >
                    <p:tabView dynamic="true" style="border-style: none; width: 100%" >
                        <p:tab title="Vacancy Manager" >
                            <h:panelGrid columns="2" cellpadding="2">

                                <ui:insert name="vacancymanager">

                                </ui:insert>

                            </h:panelGrid>
                        </p:tab>

                        <p:tab title="Add new">
                            <h:panelGrid columns="2" cellpadding="2">

                                <ui:insert name="addnewvacancy">

                                </ui:insert>

                            </h:panelGrid>
                        </p:tab>
                    </p:tabView>
                </p:tab>

                <p:tab title="Schedule Interview" id="tab4" >
                    <p:tabView dynamic="true">
                        <p:tab title="Schedule" >
                            <h:panelGrid columns="1" cellpadding="2">

                                <h:outputText value="Francis Ford Coppola's legendary continuation and sequel to his landmark 1972 film, The_Godfather, parallels the young Vito Corleone's rise with his son Michael's spiritual fall, deepening The_Godfather's depiction of the dark side of the American dream.
                                              In the early 1900s, the child Vito flees his Sicilian village for America after the local Mafia kills his family. Vito struggles to make a living, legally or illegally, for his wife and growing brood in Little Italy,
                                              killing the local Black Hand Fanucci after he demands his customary cut of the tyro's business. With Fanucci gone, Vito's communal stature grows."/>
                            </h:panelGrid>
                        </p:tab>



                    </p:tabView>
                </p:tab>

                <p:tab title="Help" id="tab5" >
                    <p:tabView dynamic="true">
                        <p:tab title="Help from System" >
                            <h:panelGrid columns="1" cellpadding="2">

                                <ui:insert name="help">

                                </ui:insert>

                            </h:panelGrid>
                        </p:tab>



                    </p:tabView>
                </p:tab>


            </p:tabView>

        </div>
    </h:body>
</html>

